finding grade of a student in c program using if else condition